package applogic;
import java.util.ArrayList;
public class User {
	private String username;
	private String password;
	private ArrayList<Rsvp> rsvp;
	
	
	public User(String username,String password){
		this.username = username;
		this.password = password;
		rsvp = new ArrayList<Rsvp>();
	}
		
	public String getUser(){
		return username;
	}
	
	public void addRsvp(Rsvp rsvp)
	{
		this.rsvp.add(rsvp);
	}
	
	public String toString()
	{
		return username;
	}

	public String getPassword() {
		return password;
	}
}
